<?php

namespace App\Providers;

use Illuminate\Support\ServiceProvider;

class RepositoryServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap the application services.
     *
     * @return void
     */
    public function boot()
    {
        //
    }

    /**
     * Register the application services.
     *
     * @return void
     */
    public function register()
    {
        $this->app->bind(\App\Repositories\PatientRepository::class, \App\Repositories\PatientRepositoryEloquent::class);
        $this->app->bind(\App\Repositories\PatientTypeRepository::class, \App\Repositories\PatientTypeRepositoryEloquent::class);
        $this->app->bind(\App\Repositories\DeportmentRepository::class, \App\Repositories\DeportmentRepositoryEloquent::class);
        $this->app->bind(\App\Repositories\MediaRepository::class, \App\Repositories\MediaRepositoryEloquent::class);
        $this->app->bind(\App\Repositories\ZoneRepository::class, \App\Repositories\ZoneRepositoryEloquent::class);
        $this->app->bind(\App\Repositories\DoctorRepository::class, \App\Repositories\DoctorRepositoryEloquent::class);
        $this->app->bind(\App\Repositories\RoleRepository::class, \App\Repositories\RoleRepositoryEloquent::class);
        $this->app->bind(\App\Repositories\PermissionRepository::class, \App\Repositories\PermissionRepositoryEloquent::class);
        $this->app->bind(\App\Repositories\PermissionRoleRepository::class, \App\Repositories\PermissionRoleRepositoryEloquent::class);
        $this->app->bind(\App\Repositories\PermissionUserRepository::class, \App\Repositories\PermissionUserRepositoryEloquent::class);
        $this->app->bind(\App\Repositories\RoleUserRepository::class, \App\Repositories\RoleUserRepositoryEloquent::class);
        $this->app->bind(\App\Repositories\UserRepository::class, \App\Repositories\UserRepositoryEloquent::class);
        //:end-bindings:
    }
}
